<%--
  Created by IntelliJ IDEA.
  User: ydw
  Date: 15/7/30
  Time: 上午12:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>add</title>
</head>
<body>
<!-- 此时没有写action-->
<sf:form method="post" modelAttribute="user">
    name:<sf:input path="name"/><br>
    Password:<sf:password path="password"/><br>
    email:<sf:input path="email"/>
    <input type="submit" value="添加用户">
</sf:form>

</body>
</html>
